KnitPay\Gateways\Razorpay\Integration B

Total Complexity 91
Dependencies 7
Dependents 2
Total lines 792
Lines of code 553
Logical lines of code 251
Comment lines 117
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
get_settings_fields()
B
27
12 193
refresh_access_token()
A
44 13 45
update_connection_status()
A
46 12 38
get_config()
A
46 7 40
schedule_next_refresh_access_token()
S
54 6 22
save_token()
S
54 6 19
save_post()
S
56 6 18
create_connection()
S
51 3 28
connect()
S
52 3 26
connection_status_box()
S
56 3 17
__construct()
S
53 2 24
setup()
S
58 2 15
get_gateway()
S
62 2 12
payment_provider_url()
S
68 2 7
gateway_configuration_display_value()
S
75 2 4
inc_refresh_token_fail_counter()
S
67 2 8
subscription_status_update_listener()
S
66 2 8
is_auth_basic_enabled()
S
78 2 3
clear_config()
S
60 1 13
allowed_redirect_hosts()
S
77 1 4
redirect_to_config()
S
75 1 4
configure_webhook()
S
72 1 5